import request from "../request";

// 获取管理员列表
export const getAdminList = () => request.get("/adminList");

// 添加管理员,body:请求体信息
export const postAdmin = body => request.post("/admin", body);

// 登陆接口
export const postLogin = body => request.post("/login",body);

export const deleteAdminById = id=>request.delete("/admin/"+id);